home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / memory / xms200je / makefile.mak < prev    next >
Makefile  |  1993-11-22  |  2KB  |  68 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #       MAKEFILE.MAK: makefile for XMS class libraries.
  4. #       Copyright (c) J.English 1993.
  5. #       Author's address: je@unix.brighton.ac.uk
  6. #
  7. #       Permission is granted to use copy and distribute the
  8. #       information contained in this file provided that this
  9. #       copyright notice is retained intact and that any software
  10. #       or other document incorporating this file or parts thereof
  11. #       makes the source code for the library of which this file
  12. #       is a part freely available.
  13. #
  14. #---------------------------------------------------------------------------
  15.  
  16. .AUTODEPEND
  17. .SILENT
  18.  
  19. #----- Symbol definitions -----
  20.  
  21. DIR   = d:\borlandc                 # Borland C++ directory -- change to suit
  22. MODEL = l                           # Memory model (s, m, l, c, h or t)
  23. CC    = bcc -m$(MODEL) -I$(INC)\include -L$(LIB)\lib
  24.  
  25. #----- Default compilation rule -----
  26.  
  27. .cpp.obj:
  28.     $(CC) -c $.
  29.  
  30. #----- Compilation rules -----
  31.  
  32. all: xmstest.exe xmstime.exe umbtest.exe hmatest.exe xarrtest.exe xarrtime.exe
  33.  
  34. xmstest.exe:    xmstest.obj xms.obj doserror.obj
  35.     $(CC) xmstest.obj xms.obj doserror.obj
  36.  
  37. xmstime.exe:    xmstime.obj xms.obj doserror.obj
  38.     $(CC) xmstime.obj xms.obj doserror.obj
  39.  
  40. umbtest.exe:    umbtest.obj xms.obj doserror.obj
  41.     $(CC) umbtest.obj xms.obj doserror.obj
  42.  
  43. hmatest.exe:    hmatest.obj xms.obj doserror.obj
  44.     $(CC) hmatest.obj xms.obj doserror.obj
  45.  
  46. xarrtest.exe:   xarrtest.obj xmsarray.obj xms.obj doserror.obj
  47.     $(CC) xarrtest.obj xmsarray.obj xms.obj doserror.obj
  48.  
  49. xarrtime.exe:   xarrtime.obj xmsarray.obj xms.obj doserror.obj
  50.     $(CC) xarrtime.obj xmsarray.obj xms.obj doserror.obj
  51.  
  52. xms.obj:        xms.cpp
  53. doserror.obj:   doserror.cpp
  54. xmstest.obj:    xmstest.cpp
  55. umbtest.obj:    umbtest.cpp
  56. hmatest.obj:    hmatest.cpp
  57. xmstime.obj:    xmstime.cpp
  58. xarrtest.obj:   xarrtest.cpp
  59. xarrtime.obj:   xarrtime.cpp
  60.  
  61. #----- Other targets -----
  62.  
  63. clean:                              # clean up directory
  64.     del *.obj
  65.  
  66. print:                              # print sources
  67.     print *.doc *.mak *.h *.cpp
  68.